package com.nxn.dinner.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.nxn.core.dao.EntityDao;
import com.nxn.core.service.impl.EntityManagerImpl;
import com.nxn.dinner.dao.DeliveryOrderDao;
import com.nxn.dinner.model.DeliveryOrder;
import com.nxn.dinner.service.DeliveryOrderService;

/**
 * Implement Services needed to edit and save
 * a DeliveryOrder object.
 * @author Michael
 *
 */

@Service
public class DeliveryOrderServiceImpl extends EntityManagerImpl<DeliveryOrder, Long> implements DeliveryOrderService {
	
    @Autowired
	private DeliveryOrderDao deliveryOrderDao;
	
	@Override
	public EntityDao<DeliveryOrder, Long> getSearchImpl() {
		return deliveryOrderDao;
	}
	
}
